package com.jinghua.treatment.mapper;

import com.jinghua.treatment.common.Pager;
import com.jinghua.treatment.entity.SysAuthentication;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysAuthenticationMapper {
    int deleteByPrimaryKey(Integer authId);

    int insert(SysAuthentication record);

    SysAuthentication selectByPrimaryKey(Integer doctorId);

    int getCount();

    List<SysAuthentication> selectAll(@Param("pager") Pager pager);

    int updateByPrimaryKey(SysAuthentication record);

    SysAuthentication selectByDoctorId(Integer doctorId);
}